package com.ljw.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ljw.dto.GetFreeRoomDto;
import com.ljw.entity.Room;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ljw.vo.RoomVo;

import java.util.List;

/**
 * <p>
 * 客房信息表 服务类
 * </p>
 *
 * @author ljw
 * @since 2020-07-25
 */
public interface RoomService extends IService<Room> {

    List<Room> getFreeRoom(GetFreeRoomDto getFreeRoomDto);

    Page<RoomVo> findAll(Page<RoomVo> page);

}
